﻿
using System;
using System.Threading.Tasks;
using System.Linq.Expressions;


using Oliving.Edge.IRepository.Base;
using Oliving.Edge.Model;
using Oliving.Edge.Model.Dto.XLT;
using Oliving.Edge.Model.Models.XLT;
using Oliving.Edge.Model.Dto.Xcx;

namespace Oliving.Edge.IRepository.XLT
{
    /// <summary>
    /// ICD_CleaningPointRepository  , CD_CleaningPoint , 保洁点
    /// </summary>	
    public interface ICD_CleaningPointRepository : IBaseRepository<CD_CleaningPoint>
    {
        Task<PageModel<CD_CleaningPointPageDto>> QueryPageList(Expression<Func<CD_CleaningPoint, bool>> whereExpression, int intPageIndex = 1, int intPageSize = 20, string sortField = null, string sortOrder = null);
        Task<xCleaningPoint> QueryById(string id);
        Task<FBjInfo> FQueryById(string id);
        Task<PageModel<FBjInfo>> GetPageList(Expression<Func<CD_CleaningRecord, bool>> whereExpression,
                int pageIndex = 1, int pageSize = 20);
    }
}
